<?php

namespace app\admin\service;

use app\admin\model\AttentionSetting;
use app\admin\model\Config;
use app\admin\model\ConfigData;

/**
 * 网站配置-服务类
 * Class ConfigWebService
 * @package app\admin\service
 */
class AttentionsettingService extends BaseService
{
    /**
     * 构造函数
     *
     * ConfigWebService constructor.
     */
    public function __construct()
    {
        $this->model = new AttentionSetting();
    }

    /**
     * 获取配置列表
     * @return array
     *
     */
    public function getList()
    {
        // 获取配置列表
        $setting = $this->model->getInfo(1);
        return message("操作成功", true, $setting);
    }
}